.network-detail {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.network-tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.network-tabs .ant-tabs-nav {
  margin: 0;
  flex-shrink: 0;
}

.network-tabs .ant-tabs-content {
  flex: 1;
  height: 0;
  overflow: hidden;
}

.network-tabs .ant-tabs-tabpane {
  height: 100%;
  overflow: hidden;
}

/* 网络连接分析页样式 */
.network-connections {
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 基础信息标签页样式 */
.network-basic-info {
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  min-height: 0;
}

.network-basic-info .info-section {
  flex-shrink: 0;
}

.network-basic-info .info-section:first-child {
  height: 300px;
  display: flex;
  flex-direction: column;
}

.network-basic-info .info-section:last-child {
  height: 400px;
  display: flex;
  flex-direction: column;
}

.network-basic-info .section-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1f1f1f;
}

/* 网络接口信息布局 */
.interface-info-container {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  min-height: 0;
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
}

.basic-info-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 网络接口卡片样式 */
.interface-item {
  padding: 12px;
  border-radius: 4px;
  background: #fafafa;
}

.interface-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.interface-name {
  font-size: 14px;
  font-weight: 500;
  color: #000000d9;
}

.interface-status {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.interface-status.up {
  background: #f6ffed;
  color: #52c41a;
}

.interface-status.down {
  background: #fff1f0;
  color: #ff4d4f;
}

.interface-details {
  display: flex;
  align-items: center;
  gap: 24px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.detail-label {
  color: #00000073;
}

.detail-value {
  color: #000000d9;
}

.interface-chart {
  margin-top: 12px;
}

/* 带宽趋势图样式 */
.bandwidth-trend {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bandwidth-trend .echarts-for-react {
  flex: 1;
  min-height: 0;
}

/* 网络统计样式 */
.network-basic-info .stats-info {
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.network-basic-info .stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.network-basic-info .stat-label {
  color: #666;
  font-size: 14px;
}

.network-basic-info .stat-value {
  font-size: 16px;
  font-weight: 500;
}

/* 网络统计卡片样式 */
.network-basic-info .bandwidth-trend {
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.network-basic-info .bandwidth-trend .echarts-for-react {
  flex: 1;
}

/* 自定义滚动条样式 */
.interface-info-container::-webkit-scrollbar,
.network-basic-info::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
}

.interface-info-container::-webkit-scrollbar-thumb,
.network-basic-info::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  cursor: pointer;
}

.interface-info-container::-webkit-scrollbar-thumb:hover,
.network-basic-info::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.interface-info-container::-webkit-scrollbar-track,
.network-basic-info::-webkit-scrollbar-track {
  background-color: transparent;
  pointer-events: auto;
} 